package com.flea.hclv.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.flea.hclv.model.entity.HAddress;
import com.flea.hclv.model.entity.HHotel;

public interface HHotelMapper {
    int deleteByPrimaryKey(String id);

    int insert(HHotel record);

    int insertSelective(HHotel record);

    HHotel selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HHotel record);

    int updateByPrimaryKey(HHotel record);

	List<HHotel> selectPagings(RowBounds rowBounds);

	/**
	 * 
	 * @description 多id，软删除
	 * @methodName deleteByIds
	 * @param
	 * @returnType int   
	 * @throw
	 */
	int deleteByPrimaryKeys(@Param("deleteIds")List<String> deleteIds);
	/**
	 * 
	 * @description
	 * @methodName selectlAllByUuid
	 * @param
	 * @returnType List<HHotel>   
	 * @throw
	 */
	List<HHotel> selectlAllByUuid(@Param("orgId")String orgId);

	List<HHotel> selectlAll();

	List<HHotel> selectPagingsByParams(RowBounds rowBounds, @Param("queryName")String queryName, @Param("queryLevel")String queryLevel, @Param("address")List<HAddress> address);
	/**
	 * 
	 * @description
	 * @methodName selectPagingsByParamsAndOrgId
	 * @param
	 * @returnType List<HHotel>   
	 * @throw
	 */
	List<HHotel> selectPagingsByParamsAndOrgId(RowBounds rowBounds,@Param("deptOrgId")String deptOrgId, @Param("queryName")String queryName, @Param("queryLevel")String queryLevel, @Param("address")List<HAddress> address);

}